package com.charley.icloud.common.constants;

/**
 * 系统级常量
 */
public interface SystemNumberConstants {

    Byte SYSTEM_NUMBER_BYTE_ZERO = (byte)0;
    Byte SYSTEM_NUMBER_BYTE_ONE = (byte)1;
    Byte SYSTEM_NUMBER_BYTE_TWO = (byte)2;
    Byte SYSTEM_NUMBER_BYTE_THREE = (byte)3;
    Byte SYSTEM_NUMBER_BYTE_FOUR = (byte)4;
    Byte SYSTEM_NUMBER_BYTE_FIVE = (byte)5;

    Integer SYSTEM_NUMBER_INTEGER_ZERO = 0;
    Long SYSTEM_NUMBER_LONG_ZERO = 0L;
    Integer SYSTEM_NUMBER_ONE = 1;
    Integer SYSTEM_NUMBER_TWO = 2;
    Integer SYSTEM_NUMBER_THREE = 3;
    Integer SYSTEM_NUMBER_FOUR = 4;
    Integer SYSTEM_NUMBER_FIVE = 5;
    Integer SYSTEM_NUMBER_SIX = 6;
    Integer SYSTEM_NUMBER_SEVEN = 7;
    Integer SYSTEM_NUMBER_EIGHT = 8;
    Integer SYSTEM_NUMBER_NINE = 9;

    /* token有误返回 code 标识 */
    String TOKEN_INVALID_CODE = "98";
    /* token有误返回消息 */
    String TOKEN_INVALID_MSG = "token无效";
    /* 系统异常标识 */
    String EXCEPTION_CODE = "99";
    /* 系统异常返回信息 */
    String EXCEPTION_MSG = "系统异常，请稍后重试！";
    /* token在HTTP请求头存储键 */
    String REQUEST_HEADER_TOKEN = "Auth-Token";
    /* 成功失败标识key */
    String RETURN_CODE_KEY = "resultCode";
    /* 返回信息 */
    String RETURN_MSG_KEY = "resultMsg";
    /* 用户 id <= user_admin_id 为系统管理员之类的用户 */
    String USER_ADMIN_ID = "2";

}
